package cn.jiedanba.cacert.model;

import java.io.Serializable;
import java.util.Date;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Table("tb_sys_user")
@Accessors(chain = true)
public class SysUser implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id(keyType = KeyType.Generator, value = "snowflake")
	private String id;

	private String loginName;

	private String userName;

	private String password;

	@Column(isLogicDelete = true)
	private boolean delFlag;

	private Date createDate;

	private Date updateDate;
}
